#ifndef HEADER_H
#define HEADER_H

#include <iostream>
using namespace std;

class Array{
public:
  Array();
  Array(const Array &);

  int& operator[](int cur);
  int operator[](int cur) const;

  int Getlen() const;
  void push_back(int elm);
  void pop_back();

private:
  int* array;
  int max_size;
  int cur_size;
};


#endif
